@import './variables.scss';
@import './mixin.scss';
@import './transition.scss';
@import './element-ui.scss';
@import './sidebar.scss';
@import './btn.scss';
@import './common.scss';
@import './iconfont/iconfont.css';

html, body {
  font-family: "微软雅黑", "Arial", "sans-serif";
  font-size: 14px;
  line-height: 22px;
  padding: 0px;
  margin: 0px;
  height: 100%;
  color: #333;
}

body {
  height: 100%;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

label {
  font-weight: 700;
}

html {
  height: 100%;
  box-sizing: border-box;
}

#app{
  height: 100%;
}

*,
*:before,
*:after {
  box-sizing: inherit;
}

.no-padding {
  padding: 0px !important;
}

.padding-content {
  padding: 4px 0;
}

a:focus,
a:active {
  outline: none;
}

a,
a:focus,
a:hover {
  cursor: pointer;
  color: inherit;
  text-decoration: none;
}

div:focus{
  outline: none;
 }

.fr {
  float: right;
}

.fl {
  float: left;
}

.pr-5 {
  padding-right: 5px;
}

.pl-5 {
  padding-left: 5px;
}

.block {
  display: block;
}

.pointer {
  cursor: pointer;
}

.inlineBlock {
  display: block;
}

.clearfix {
  &:after {
    visibility: hidden;
    display: block;
    font-size: 0;
    content: " ";
    clear: both;
    height: 0;
  }
}

code {
  background: #eef1f6;
  padding: 15px 16px;
  margin-bottom: 20px;
  display: block;
  line-height: 36px;
  font-size: 15px;
  font-family: "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
  a {
    color: #337ab7;
    cursor: pointer;
    &:hover {
      color: rgb(32, 160, 255);
    }
  }
}

.warn-content{
  background: rgba(66,185,131,.1);
  border-radius: 2px;
  padding: 16px;
  padding: 1rem;
  line-height: 1.6rem;
  word-spacing: .05rem;
  a{
    color: #42b983;
    font-weight: 600;
  }
}

//main-container全局样式
.app-container {
  padding: 20px;
}

.components-container {
  margin: 30px 50px;
  position: relative;
}

.pagination-container {
  margin-top: 30px;
}

.text-center {
  text-align: center
}

.sub-navbar {
  height: 50px;
  line-height: 50px;
  position: relative;
  width: 100%;
  text-align: right;
  padding-right: 20px;
  transition: 600ms ease position;
  background: linear-gradient(90deg, rgba(32, 182, 249, 1) 0%, rgba(32, 182, 249, 1) 0%, rgba(33, 120, 241, 1) 100%, rgba(33, 120, 241, 1) 100%);
  .subtitle {
    font-size: 20px;
    color: #fff;
  }
  &.draft {
    background: #d0d0d0;
  }
  &.deleted {
    background: #d0d0d0;
  }
}

.link-type,
.link-type:focus {
  color: #337ab7;
  cursor: pointer;
  &:hover {
    color: rgb(32, 160, 255);
  }
}

.filter-container {
  padding-bottom: 10px;
  .filter-item {
    display: inline-block;
    vertical-align: middle;
    margin-bottom: 10px;
  }
}

//refine vue-multiselect plugin
.multiselect {
  line-height: 16px;
}

.multiselect--active {
  z-index: 1000 !important;
}

.el-tabs__nav {
  // margin-left: 40px;
}
.el-tabs__active-bar{
  display: none;
}
.el-tabs__item {
  // padding:0 0px!important;
  min-width: 100px!important;
  padding:0 16px!important;
  text-align: center;
  margin-right: 20px!important;
  border-bottom: #fff 1px solid;
  margin-bottom: 1px;
  &.is-active{
    border-bottom: #409eff 1px solid;
  }
  &:last-child{
    margin-right: 0px!important;
  }
}

// 抽屉样式重定义
.el-drawer__header{
  display: none;
}
.el-drawer__body{
  .drawer-t{
    color: #585858;
    font-weight: normal;
    margin: 20px 0 0 0;
  }
  .el-icon-close{
    color: #72767b;
    margin: 20px 0 0 0;
    cursor: pointer;
  }
}

// 页面弹出层dialog固定高度滚动
.scroll-layer-box{
  height: 580px;
  overflow: auto;
  overflow-x: hidden;
  &::-webkit-scrollbar {
    width: 4px;    
  }
  &::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    background: rgba(0,0,0,0.2);
  }
  &::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
    border-radius: 0;
    background: rgba(0,0,0,0.1);
  }
}

// 头部信息展示栏开始
.info-top-col{
  ul {
    margin: 0;
    padding: 0;
    li {      
      font-size: 16px;
      list-style: none;
      padding-bottom: 5px;
      &:last-child {
        padding-bottom: 0;
      }
      label {
        display: inline-block;
        vertical-align: top;
        color: #7F7F7F;
        font-weight: normal;
        min-width: 150px;
      }
      span {
        display: inline-block;
        vertical-align: top;
        padding-left: 12px;
      }
    }
  }
}
// 头部信息展示栏结束

// 小图数组list，弹出轮播展示开始
.pic-swiper-bg {
  position: fixed;
  left: 0px;
  top: 0;
  z-index: 1000;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); 
}
.pic-swiper-box {
  position: fixed;
  left: 0px;
  top: 50%;
  z-index: 1001;
  width: 100%;
  height: 100%;
  margin-top: -325px;
  padding-left: 180px;
  box-sizing: border-box; 
  /deep/ .el-carousel{
    .el-carousel__arrow{
      background-color: transparent;
      font-size: 26px;
      border: #fff 2px solid;
      i{
        font-weight: 500;
      }
    }
    .el-carousel__item{
      text-align: center;
      display: flex;
      justify-content: center;
      align-items: center;
      padding-bottom: 35px;
      img{
        max-height: 615px;          
      }
      .count{
        position: fixed;
        left: 50%;
        bottom: 0px;
        margin-left: -20px;
        z-index: 101;
      }
    }
  }
}
// 小图数组list，弹出轮播展示结束


.tag-edit{
  position: absolute;
  right: 379px;
  top: 5px;
  z-index: 50;
  &.phone-top-edit{
    right: 384px;
  }
  &.el-tag{
    background-color: #fff;
    border-color: #fff;
    color: #868686;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  }
  &:after{
    content: '';
    display: block;
    border-top: 6px transparent dashed;
    border-right: 10px transparent dashed;
    border-bottom: 6px transparent dashed;
    border-left: 10px #fff solid;
    position: absolute;
    right: -20px;
    top: 5px;
    z-index: 11;
  }
}

.el-menu--vertical{
  .el-menu--popup-right-start{
    margin-left: 0!important;
    margin-right: 0!important;
    background-color: #424245!important;
    min-width: 160px;
    border-radius: 0!important;
    padding: 0!important;
    .el-menu-item{
      background-color: #424245!important;
      padding: 0 20px 0 50px!important;
      &:hover{
        background-color: #001528!important;
      }
    }
  }
}

.el-table.last-none-border:before{
  content: '';
  display: none;
}
.el-table.last-none-border tr:last-child td{
  border-bottom: none!important;
}
table.last-none-border{
  border-bottom: none!important;
}

.bottom-bar{
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  z-index: 999;
  box-shadow: 5px 1px 5px #cccccc;
  .el-button{
    min-width: 100px;
    height: 40px;
    line-height: 40px;
    padding: 0 20px;
  }
  .el-button+.el-button{
    margin-left: 30px;
  }
}
